-
Home
-
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN
-
3.16.5
-
Code
-
Classes
- Dir
Total Complexity |
198 |
Dependencies |
11 |
Dependents |
3 |
Total lines |
1,305 |
Lines of code |
702 |
Logical lines of code |
405 |
Comment lines |
424 |
Methods |
36 |
Properties |
4 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_image_list() |
C |
35 |
25 |
85 |
get_directory_tree() |
B |
41 |
18 |
51 |
skip_dir() |
B |
48 |
18 |
27 |
total_stats() |
A |
41 |
12 |
55 |
optimise_image() |
A |
39 |
10 |
72 |
combine_stats() |
A |
51 |
9 |
23 |
validate_path() |
A |
54 |
8 |
22 |
directory_smush_finish() |
A |
54 |
8 |
19 |
initialize() |
S |
52 |
7 |
23 |
is_image() |
S |
57 |
6 |
17 |
last_scan_stats() |
S |
52 |
5 |
24 |
image_list() |
S |
54 |
5 |
20 |
get_image() |
S |
63 |
6 |
10 |
directory_smush_check_step() |
S |
58 |
5 |
14 |
init() |
S |
56 |
4 |
17 |
get_unsmushed_images() |
S |
57 |
4 |
16 |
get_root_path() |
S |
57 |
4 |
16 |
should_continue() |
S |
65 |
5 |
9 |
directory_list() |
S |
58 |
4 |
14 |
check_table() |
S |
65 |
4 |
9 |
create_table() |
S |
53 |
2 |
27 |
show_table_error() |
S |
62 |
2 |
16 |
directory_smush_cancel() |
S |
64 |
3 |
9 |
build_query() |
S |
64 |
3 |
9 |
directory_smush_start() |
S |
63 |
3 |
10 |
table_exist() |
S |
64 |
3 |
9 |
check_scan() |
S |
68 |
2 |
12 |
get_scanned_images() |
S |
64 |
2 |
9 |
is_media_library_file() |
S |
65 |
2 |
9 |
is_image_from_extension() |
S |
66 |
2 |
8 |
remove_directory_tab() |
S |
71 |
2 |
6 |
get_image_errors() |
S |
64 |
1 |
11 |
send_error() |
S |
70 |
1 |
7 |
store_images() |
S |
73 |
1 |
5 |
get_image_errors_count() |
S |
68 |
1 |
8 |
get_admin_path() |
S |
73 |
1 |
4 |